package com.ruoyi.business.domain.wecom;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("tb_wecom_chat_group")
@EqualsAndHashCode(callSuper = true)
@ApiModel("企微客户群信息")
public class TbWecomChatGroup extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "客户群id")
    private String chatId;

    @ApiModelProperty(value = "客户群名称")
    private String chatName;

    @ApiModelProperty(value = "群主")
    private String chatOwner;

    @ApiModelProperty(value = "群创建时间")
    private Long chatCreateTime;

    @ApiModelProperty(value = "群公告")
    private String chatNotice;

    @ApiModelProperty(value = "群成员数量")
    private Integer memberNum;

    @ApiModelProperty(value = "群版本号")
    private String memberVersion;

    @ApiModelProperty(value = "客户群跟进状态。\n" +
        "0 - 跟进人正常\n" +
        "1 - 跟进人离职\n" +
        "2 - 离职继承中\n" +
        "3 - 离职继承完成")
    private Integer status;

    @ApiModelProperty(value = "群管理员列表")
    private String adminUserIds;

    @ApiModelProperty(value = "企业应用的id")
    private String agentId;


}
